package org.platform.lwc.tool.auth.constants;

public class AuthConstant {

    public static final String AUTHORITY_PREFIX = "ROLE_";

    public static final String AUTHORITY_CLAIM_NAME = "authorities";

    public static final String RESOURCE_ROLES_MAP = "AUTH:RESOURCE_ROLES_MAP";
    /**
     * 认证请求头key
     */
    public static final String BASIC_HEADER_KEY = "Authorization";

    /**
     * 认证请求头前缀
     */
    public static final String BASIC_HEADER_BEARER = "Bearer ";

    /**
     * 认证请求头前缀1
     */
    public static final String BASIC_HEADER_BASIC = "Basic ";

    /**
     *  请求头里面 用户消息key
     */
    public static final String BASIC_HEADER_LOGINUSER = "loginUser";

}
